Meaning of the word "when the wine is in, the wit is out" in English

What does "when the wine is in, the wit is out" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

when the wine is in, the wit is out

US /wɛn ðə waɪn ɪz ɪn, ðə wɪt ɪz aʊt/
UK /wɛn ðə waɪn ɪz ɪn, ðə wɪt ɪz aʊt/
"when the wine is in, the wit is out" picture

Idiom

when a person drinks alcohol, they lose their judgment and self-control

Example:
He started insulting everyone at the party; truly, when the wine is in, the wit is out.
I shouldn't have said those things last night, but when the wine is in, the wit is out.